package pers.zc.activiti.shejimoshi.dongtaidaili;

/**
 * @Annotion:
 * @ClassName: Client
 * @Author: Lin Fuyuan
 * @Date: 2019/11/16  18:05
 * @Version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        Proxy pro = ContextFactory.getInstance(Impl1.class);
        if(pro!=null){
            pro.test();
        }

        Proxy pro2 = ContextFactory.getInstance("pers.zc.activiti.shejimoshi.dongtaidaili.Impl2");
        if(pro2!=null){
            pro2.test();        }
        }


}
